<style>
{literal}
.sTitle {
/*margin: 10px 10px 20px;*/
padding: 10px 50px 10px 10px;
position: relative;
}
.cf {
}
.bd {
border:1px solid #BBBBBB;
}
.sTitle .coverBox {
float: left;
position: relative;
width: 236px;
}
a.iBd {
color: #FFFFFF;
}
a:link, a:visited, a:hover, a:active {
outline: 0 none;
text-decoration: none;
}
.sTitle .info {
    padding-left: 285px;
}
.sTitle .info .date {
padding: 20px 0;
text-align: right;
}
.gC1 {
color: #999999;
}
.sTitle .info .text {
margin-bottom: 20px;
padding: 40px 15px;
}
.dBd_1 {
border: 1px dashed #DEDEDE;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight: normal;
}
a.u:link, a.u:visited, a.u:hover, a.u:active {
text-decoration: underline;
}
a.mwC:link, a.mwC:visited {
color: #FF0099;
padding: 0 2px;
}
.article {
margin-left: 5px;
padding: 0 10px 0 5px;
}
element.style {
font-size: 14px;
}
.article pre.dBd {
line-height: 22px;
padding: 20px 160px;
}
.article .dBd {
border-width: 0 0 1px;
margin-bottom: 20px;
padding: 0 10px 20px;
}
.dBd {
border: 1px dashed #BBBBBB;
}
input, pre, textarea {
font-family: Verdana,"宋体",sans-serif;
outline: 0 none;
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
.article pre .title {
font-weight: 700;
padding-bottom: 10px;
}
.gC {
color: #666666;
}
.article .pic {
text-align: center;
}
.article .pic pre {
line-height: 22px;
padding: 15px 160px 0;
text-align: left;
}
.gC1 {
color: #999999;
}
input, pre, textarea {
font-family: Verdana,"宋体",sans-serif;
outline: 0 none;
}
{/literal}
</style>

{if $article.a_cover_id}
<div class="sTitle bd cf">
    <div class="coverBox" style="margin-top:40px;height:140px;overflow:hidden">
        <a hidefocus="ture" alt="{$article.a_title}" title="{$article.a_title}" href="#" class="iBd">
            <img alt="{$article.a_title}" title="{$article.a_title}" src="/photos/{$article.a_cover_src}" class="cover bd">
        </a>
    </div>

    <div class="info">
        <p class="date gC1">{$article.a_published}</p>
        <h2 class="text dBd_1" style="text-align:left">
            <a hidefocus="ture" title="{$article.a_title}" href="#" class="mwC u" >{$article.a_title}</a>
        </h2>
    </div>
</div>
{/if}

{if $article.a_content}
<div id="postContentDiv" class="article" style="margin-top:20px;">

{foreach from=$article.a_content item=m}
{if $m.type == 'text'}
<pre style="font-size:14px" class="gC dBd">
{if $m.title}
<p class="title gC">{$m.title}</p>
{/if}{$m.text}</pre>
{elseif $m.type == 'pic'}
<div class="pic dBd" style="text-align:center">
    <img src="{$m.src}">
    {if $m.desc}
    <pre class="gC1">{$m.desc}</pre>
    {/if}
</div>
{/if}
{/foreach}
</div>
{/if}
